package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {
    void saveOrUpdate(Department department);
    void delete(Long id);
    Department getDepartmentById(Long id);
    List<Department> getAll();


    PageInfo<Department> selectByQuery(QueryObject queryObject);
}
